import service from '@/utils/request'
// @Tags SysApi
// @Summary 删除客户
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body dbModel.ExaCustomer true "删除客户"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}"
// @Router /customer/customer [post]

//获取服务站地图数据
export const getServiceStationMapData = (data) => {
    return service({
        url: '/dataAnalysis/getServiceStationMapData',
        method: 'get',
        data
    })
}

//获取服务中心地图数据
export const getServiceCenterMapData = (data) => {
    return service({
        url: '/dataAnalysis/getServiceCenterMapData',
        method: 'get',
        data
    })
}
// 获取下属服务站地图数据【服务中心】
export const getStationsMapDataByHm = (data) => {
    return service({
        url: '/scDataAnalysis/getStationsMapDataByHm',
        method: 'get',
        data
    })
}
// 获取下属服务站地图数据【服务中心】
export const getStationsMapDataByUser = (data) => {
    return service({
        url: '/scDataAnalysis/getStationsMapDataByUser',
        method: 'get',
        data
    })
}
//获取服务站主病症列表【超管】
export const getStationDiseaseList = (params) => {
    return service({
        url: '/dataAnalysis/getStationDiseaseList',
        method: 'get',
        params
    })
}
// 获取服务中心主病症列表【服务中心】
export const getCentreDiseaseList = (params) => {
    return service({
        url: '/scDataAnalysis/getCentreDiseaseList',
        method: 'get',
        params
    })
}
//获取服务站用户数量排名【超管】
export const getStationUserRank = (params) => {
    return service({
        url: '/dataAnalysis/getStationUserRank',
        method: 'get',
        params
    })
}
// 获取服务站排名根据用户数量【服务中心】
export const getStationRankByUserNum = (params) => {
    return service({
        url: '/scDataAnalysis/getStationRankByUserNum',
        method: 'get',
        params
    })
}
//获取服务站健管师数量排名【超管】
export const getStationHealthManagerRank = (params) => {
    return service({
        url: '/dataAnalysis/getStationHealthManagerRank',
        method: 'get',
        params
    })
}
//获取服务站排名根据健管师数量【服务中心】
export const getStationsRankByHmNum = (params) => {
    return service({
        url: '/scDataAnalysis/getStationsRankByHmNum',
        method: 'get',
        params
    })
}
//获取服务站昨日方案全部完成用户数量排名【超管】
export const getCompletePlanUserRank = (params) => {
    return service({
        url: '/dataAnalysis/getCompletePlanUserRank',
        method: 'get',
        params
    })
}
// 获取服务站排名根据完成方案用户数量【服务中心】
export const getStationsRankByCpuNum = (params) => {
    return service({
        url: '/scDataAnalysis/getStationsRankByCpuNum',
        method: 'get',
        params
    })
}
//获取服务中心主病症列表【超管】
export const getServiceCenterDiseaseList = (params) => {
    return service({
        url: '/dataAnalysis/getServiceCenterDiseaseList',
        method: 'get',
        params
    })
}
//获取服务中心下用户数量排名【超管】
export const getUserRank = (params) => {
    return service({
        url: '/dataAnalysis/getUserRank',
        method: 'get',
        params
    })
}
//获取服务中心下健管师数量排名【超管】
export const getHealthManagerRank = (params) => {
    return service({
        url: '/dataAnalysis/getHealthManagerRank',
        method: 'get',
        params
    })
}
//获取服务中心下服务站数量排名【超管】
export const getServiceStationRank = (params) => {
    return service({
        url: '/dataAnalysis/getServiceStationRank',
        method: 'get',
        params
    })
}
//根据ID集合获取健管师列表【超管】
export const getHealthManagersByHmIDs = (params) => {
    return service({
        url: '/healthManager/getHealthManagersByHmIDs',
        method: 'get',
        params
    })
}
//根据ID集合获取f服务站列表【超管】
export const getServiceStationListByIDs = (params) => {
    return service({
        url: '/user/getServiceStationListByIDs',
        method: 'get',
        params
    })
}